package com.marcelolog.tools;

import java.lang.reflect.Field;

public class FieldTypeTools {

	public static boolean isJavaType(Field field) {

		boolean isJavaType = false;

		if (field.getType().getName().contains("java.lang")) {
			System.out.println("Field " +field.getType().getName()+" esta no pacote Java Lang" );
			isJavaType = true;
		} else {
			System.out.println("Field " +field.getType().getName()+" nao esta no pacote Java Lang" );
		}

		return isJavaType;
	}

}
